package org.example.test.domain.ao;

import com.gitee.feizns.dynamic.bean.Convertible;
import com.gitee.feizns.quickstart.validation.Verifiable;
import com.gitee.feizns.quickstart.validation.constraints.DynamicValidate;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 测试创建参数
 * @author feizns
 * @since 2024-12-20
 */
@Data
@DynamicValidate
public class HelloCreateAo implements Convertible, Verifiable {

    /**
     * 编号
     */
    @NotBlank(message = "编号不能为空.")
    private String name;

    /**
     * 创建时间
     */
    @NotNull(message = "创建时间不能为空.")
    private LocalDateTime createTime;

}
